package engine.util.texture;

import java.nio.ByteBuffer;

public  class RawData {
		private int width;
		private int height;
		private int dstPixelFormat;
		private int srcPixelFormat;
		private ByteBuffer textureBuffer;
		
		protected RawData(int width, int height, int dstPixelFormat, int srcPixelFormat, ByteBuffer textureBuffer) {
			this.width = width;
			this.height = height;
			this.dstPixelFormat = dstPixelFormat;
			this.srcPixelFormat = srcPixelFormat;
			this.textureBuffer = textureBuffer;
		}
		
		public ByteBuffer getTextureBuffer() {
			return textureBuffer;
		}
		
		public int getWidth() {
			return width;
		}
		
		public int getHeight() {
			return height;
		}
		
		public int getDstPixelFormat() {
			return dstPixelFormat;
		}
		
		public int getSrcPixelFormat() {
			return srcPixelFormat;
		}
	}